Problem Note 49800: A "specified length too long for its datatype ..." error occurs in the Create Data Source Wizard Advanced Advisor
In SAS® Text Miner, and in SAS® High-Performance Text Mining,
truncation of a text variable on an Oracle database might occur. The 11g version of Oracle has a text-variable size-limit of 4000 characters. The Oracle limit applies only when reading the data on the appliance.
To ensure that you can use up to 4000 characters for a text variable, specify DBMAX_TEXT=4000 in the Oracle LIBNAME statement.
If text needs to be transcoded before it is recognized in the language that is defined in the SAS Configuration file, then you might exceed the 4000-character limit. In this situation, a message similar to the following is displayed in the Create Data Source Wizard, Advanced Advisor:
ORA-12801: error signaled in parallel query server P014,
instance abcde.mycompany.com:exadat3 (3)ORA-00910: specified length too long for
its datatype.
The error indicates that the DBMAX_TEXT value needs to be lowered to a value that is below 4000. A lower value enables using extra bytes that are needed during transcoding. Some characters might need multiple bytes per character when transcoding from the client encoding to the database server encoding.
A workaround for this issue is to specify 2 as the number of bytes per character within SAS® High-Performance Data Mining. To use this option in the SAS Enterprise Miner user interface, add this statement to the project start code:
%let hpdm_bytesperchar=2;
Operating System and Release Information
SAS System | SAS Text Miner | Windows 7 Ultimate 32 bit | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Windows 7 Professional x64 | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Windows 7 Professional 32 bit | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Windows 7 Home Premium x64 | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Windows 7 Home Premium 32 bit | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Windows 7 Enterprise x64 | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Windows 7 Enterprise 32 bit | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows XP Professional | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Std | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows Server 2012 Datacenter | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows Server 2008 for x64 | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows Server 2008 | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows Server 2003 for x64 | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows 8 Pro | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows 8 Ent | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft® Windows® for x64 | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Windows 7 Ultimate x64 | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
64-bit Enabled AIX | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
64-bit Enabled Solaris | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
HP-UX IPF | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Linux for x64 | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
Solaris for x64 | 12.3 | 13.1 | 9.4 TS1M0 | 9.4 TS1M1 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
There is a 4000-character limit for the number of characters for a Text variable from an Oracle database
Type: | Problem Note |
Priority: | medium |
Topic: | Analytics ==> Data Mining Analytics ==> Text Mining
|
Date Modified: | 2016-11-04 11:01:14 |
Date Created: | 2013-04-30 09:16:49 |